package org.example.wu_and_dian.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.wu_and_dian.dto.request.UpdateProjectRequest;
import org.example.wu_and_dian.entity.Project;

import java.util.List;

/**
* @author SS2613
* @description 针对表【project】的数据库操作Service
* @createDate 2025-03-20 11:34:39
*/
public interface ProjectService extends IService<Project> {
    Project getProjectById(String projectId);

    List<Project> getProjectsByEmail(String email);

    int deleteProjectById(String projectId);

    int createProject(String email, String name, String description);

    int updateProject(String projectId, UpdateProjectRequest request);
}
